<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>会员列表</title>
		<link rel="stylesheet" type="text/css" href="../css/commonBookTest.css">
		<style type="text/css">
			body {
				font-family: 华文楷体;
				color: #ffffff;
				font-size: 16px;
				background-color: #556b2f;
				line-height:33px;
			}a:active{color:#ffffff;text-decoration:none;}
			a:visited{color:#96CFFC;text-decoration:none;}
			
			
			a:hover{color:yellow;text-decoration:underline;}
		</style>
	</head>
	<body topmargin="40px">
		<center>
			<table width="80%" border="0">
				<tr>
					<td>
						<p>
							<font face="华文行楷" size="5"><strong>会 * * 员 * * 目 * * 录</strong></font>
						</p>
						<table width="100%" border="1">
							<tr>
								<td width="7%">
									编号
								</td>
								<td width="18%">
									帐号
								</td>
								<td width="10%">
									姓名
								</td>
								<td width="7%">
									性别
								</td>
								<td width="15%">
									积分
								</td>
								<td width="14%">
									电话
								</td>
								<td width="15%">
									邮箱
								</td>
								<td width="7%">
									状态
								</td>
								<td width="7%">
									操作
								</td>
							</tr>
							<c:forEach items="${pageList.objectList}" var="member">
								<tr>
									<td align="center">
										${member.memberId }&nbsp;
									</td>
									<td align="center">
										<a href="${CONTEXT_ROOT}/SysMemberServlet?method=view&memberId=${member.memberId}&gradeId=${member.gradeId}">${member.userName}</a>
									</td>
									<td align="center">
										${member.name}&nbsp;
									</td>
									<td align="center">
										${member.sex}&nbsp;
									</td>
									<td align="center">
										${member.integral}&nbsp;
									</td>
									<td align="center">
										${member.tel}&nbsp;
									</td>
									<td align="center">
										${member.email}&nbsp;
									</td>
									<td align="center">
										${member.state==1?"开启":"禁用"}
									</td>
									<td align="center">
										<a href="${CONTEXT_ROOT}/SysMemberServlet?method=edit&memberId=${member.memberId}&gradeId=${member.gradeId}">修改</a>
									</td>
								</tr>
							</c:forEach>
						</table>
						<p>
							${pageList.pageStr}
						</p>
					</td>
				</tr>
			</table>
		</center>
	</body>
</html>